{% extends "base.html" %}
{% block content %}
<div>
  <form action="/joinTeam1/{{sportId}}" method="post">
  <div><h3>Join a {{sport}} Team</h3></div>
  {{form.teamPassword.label}}{{form.teamPassword}}{{form.teamPassword.errors}}
    <input type="submit" value="Submit" />
<br/>
<span class="error">{{error}}</span>
  </form>
</div>
{% endblock %}
